﻿@model EMRI.EmergencyCare.Web.Models.Patient

<table>
    <tr>
        @using (Html.BeginForm("Create", "Patient"))
        {
            @Html.ValidationSummary(true)
            <td>
                @Html.LabelFor(m => m.Name)
                @Html.TextBoxFor(m => m.Name)
                <input type="submit" value="Create" />
            </td>
        }
        @using (Html.BeginForm("Search","Patient"))
        {
            <td>
                <label>Filter</label>
                <input name="SearchText" type="text" />
                <input type="submit" value="Go" />
            </td>
        }
    </tr>
</table>

